﻿namespace AutoTest.Framework.RabbitMQ
{
    /// <summary>
    /// RabbitMQ配置
    /// </summary>
    public class RabbitMQConfig
    {
        /// <summary>
        /// MQ账号
        /// </summary>
        public string Account { get; set; } = string.Empty;
        /// <summary>
        /// MQ密码
        /// </summary>
        public string Pwd { get; set; } = string.Empty;

        /// <summary>
        /// MQ地址
        /// </summary>
        public string Host { get; set; } = string.Empty;

        /// <summary>
        /// 节点目录
        /// </summary>
        public string Directory { get; set; } = string.Empty;

        /// <summary>
        /// 实例类型（发送者和接收者）
        /// </summary>
        public EnumRabbitMQInstanceType InstanceType { get; set; }
    }
}
